let propsMap = {
    stroke: 'strokeStyle',
    fill: 'fillStyle'
}
let valMap = {
    none: 'transparent'
}

export const _props = (ctx, props = {}) => {
    Object.keys(props).forEach(t => {
        let prop = propsMap[t] || t
        ctx[prop] = valMap[props[t]] || props[t]
    })
}